package com.java.sevice;

import com.java.dto.ResultMsg;

import java.math.BigDecimal;

/**
 * @author xulu
 * @Description
 * @create 2021-01-20 9:48
 */
public interface ITransferService {
    ResultMsg tryTransfer(Long accountId, BigDecimal amount);

    ResultMsg confirmTransfer(Long accountId, BigDecimal amount);

    ResultMsg cancelTransfer(Long accountId, BigDecimal amount);

}
